﻿// Copyright: 2012 
// Author: Minh Vu - YoungJ
// File name: MyBase.cs
// Solution: WindowsPhoneRssReader
// Project: WindowsPhoneRssReader
// Time: 12:45 PM 07/05/2012

using System.ComponentModel;

namespace WindowsPhoneRssReader.Models
{
    public abstract class MyBase : INotifyPropertyChanged
    {
        #region Implementation of INotifyPropertyChanged

        public event PropertyChangedEventHandler PropertyChanged;
        public void NotifyPropertyChanged(string propertyName)
        {
            if (PropertyChanged != null)
                PropertyChanged(this, new PropertyChangedEventArgs(propertyName));
            
        }

        #endregion
    }
}